import { QueryListVo } from 'src/vo/query.list.vo';
import { QueryVo } from 'src/vo/query.vo';
import { ApiProperty } from '@nestjs/swagger';

export class CategoryVo extends QueryVo {
  @ApiProperty({ description: '类目名称' })
  name: string;
}

export class CategoryListVo extends QueryListVo {
  @ApiProperty({ description: '返回数据列表', type: CategoryVo, isArray: true })
  category: CategoryVo[];
}
